package cn.edu.ujn.food.entity;

import org.springframework.stereotype.Component;

import java.io.Serializable;
@Component
public class Dish implements Serializable {
    private static final long serialVersionUID = -37736453115558272L;

    private Integer dishId;

    private String dishName;

    @Override
    public String toString() {
        return "Dish{" +
                "dishId=" + dishId +
                ", dishName='" + dishName + '\'' +
                ", cateId=" + cateId +
                ", price='" + price + '\'' +
                ", start=" + start +
                ", rows=" + rows +
                '}';
    }

    private Integer cateId;

    private String price;
    private Integer start;
    private Integer rows;

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public Integer getCateId() {
        return cateId;
    }

    public void setCateId(Integer cateId) {
        this.cateId = cateId;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

}

